package cn.tj.student.dao;

import cn.tj.student.pojo.Student;

import java.util.List;

public interface StudentDao {
    public List<Student> queryAllStudent();
    //增删改操作需要返回值 用来决定下一步的操作
    public int addStudent(Student student);
    public Student queryOne(Long id);
    public  int updateStudent(Student student);
    public int deleteStudent(Long id);
}
